﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ServerYuGi;

namespace APIEffect.REQUEST
{
    public class Request_API
    {
        SSupervisor super;
        public Request_API(SSupervisor super)
        {
            this.super = super;
        }
        public List<int> REQUEST_CHONBAI_NGUOICHOI_BAN(int SoLaCanChon)
        {            
            super.SendMessage_REQUEST_CHONBAI_NGUOICHOI_BAN_ToID(super.TurnManager.IDPlayerTrongLuot, 0, SoLaCanChon);
            super.WaitManager.Waiting();
            return super.WaitManager.GetResult();
        }
        public List<int> RESPONE_CHONBAI_NGUOICHOI_TAY(int SoLaCanChon)
        {
            super.SendMessage_REQUEST_CHONBAI_NGUOICHOI_TAY_ToID(super.TurnManager.IDPlayerTrongLuot, 0, SoLaCanChon);
            super.WaitManager.Waiting();
            return super.WaitManager.GetResult();
        }
        public List<int> RESPONE_CHONBAI_DOITHU_TAY(int SoLaCanChon)
        {
            super.SendMessage_REQUEST_CHONBAI_DOITHU_TAY_ToID(super.TurnManager.IDPlayerTrongLuot, 0, SoLaCanChon);
            super.WaitManager.Waiting();
            return super.WaitManager.GetResult();
        }
        public List<int> RESPONE_CHONBAI_DOITHU_BAN(int SoLaCanChon)
        {
            super.SendMessage_REQUEST_CHONBAI_DOITHU_BAN_ToID(super.TurnManager.IDPlayerTrongLuot, 0, SoLaCanChon);
            super.WaitManager.Waiting();
            return super.WaitManager.GetResult();
        }

    }
}
